package com.qys.livesMall.navy.service;


import com.qys.livesMall.navy.model.entity.NavyTaskDetail;

import java.util.List;

/**
 * <p>
 * 水军任务表 服务类
 * </p>
 *
 * @author
 * @since 2023-07-11
 */
public interface NavyTaskDetailService  {

    void batchSave(List<NavyTaskDetail> list);

    NavyTaskDetail getById(Long id);

    void upById(NavyTaskDetail detail);

    /**
     * 获取下一个未执行任务明细
     * @param taskId
     * @return
     */
    NavyTaskDetail getNextDetail(Long taskId);

    /**
     * 获取所有未完成明细
     * @param taskId
     * @return
     */
    List<NavyTaskDetail> getAllNoEnd(Long taskId);

}
